package com.liliudong.template.common.constant;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 类型 1 目录 2菜单 3按钮
 *
 * @author ldli5
 * @classname SysMenuTypeEnum
 * @date 2024/6/20-17:00
 */
@Getter
public enum SysMenuTypeEnum {

	/**
	 * 目录
	 */
	CATALOG(1, "目录"),

	/**
	 * 菜单
	 */
	MENU(2, "菜单"),

	/**
	 * 按钮
	 */
	BUTTON(3, "按钮");

	@EnumValue
	private final Integer value;
	private final String desc;

	SysMenuTypeEnum(Integer value, String desc) {
		this.value = value;
		this.desc = desc;
	}

}
